package com.todo.content.iface.frontend.response;


import com.todo.common.common.entity.BaseUserVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/9 14:03
 * @description
 */
@Data
@Schema(title = "内容基础信息出参", description = "内容基础信息出参")
public class ContentBaseVO {


    @Schema(title = "内容ID", description = "内容ID")
    private Long contentId;

    @Schema(title = "基础用户信息", description = "基础用户信息")
    private BaseUserVO userVO;

    @Schema(title = "内容标题", description = "内容标题")
    private String title;

    @Schema(title = "内容摘要", description = "内容摘要")
    private String summary;

    @Schema(title = "主图", description = "主图")
    private String mainImg;

    @Schema(title = "分类名称", description = "分类名称")
    private String classifyName;

    @Schema(title = "是否允许评论", description = "是否允许评论")
    private Integer allowComment;

    @Schema(title = "浏览数", description = "浏览数")
    private Integer seeCount;

    @Schema(title = "点赞数", description = "点赞数")
    private Integer likeCount;

    @Schema(title = "评论数", description = "评论数")
    private Integer commentCount;

    @Schema(title = "是否属于当前用户", description = "是否属于当前用户")
    private Boolean belongCurrentUser;
}
